package com.ngm.tea.t.service;

import java.util.List;

import com.ngm.tea.common.PageInfo;
import com.ngm.tea.t.entity.Privilege;

/**
 * 服务层
 * @author zjw
 * @version 1.0
 * @date 2016-09-01 21:07:07
 *
 */
public interface PrivilegeService {

	public void insert(Privilege privilege);// 新增

	public void deleteById(Long id);// 按ID删除

	public void deleteByIds(String ids);// 按ID批量删除

	public void delete(Privilege privilege);// 删除

	public void update(Privilege privilege);// 更新

	public Privilege selectOne(Long id);// 按ID查询

	public List<Privilege> selectAll();// 查询所有

	public List<Privilege> selectList(Privilege privilege,PageInfo pageInfo);// 分页查询

	public Long count(Privilege privilege);// 统计查询

}
